<?php if ($this->pageCount): ?>
    <div class="paginationControl">
    <?php if ($this->first < $this->current): ?>
        <a href="<?php echo $this->url(array('pagina' => $this->first)); ?>"> &lt;&lt; Primeira</a> |
    <?php else: ?>
        <span class="disabled"> &lt;&lt; Primeira</span> |
    <?php endif; ?>

    <?php if (isset($this->previous)): ?>
        <a href="<?php echo $this->url(array('pagina' => $this->previous)); ?>"> &lt; Anterior</a> |
    <?php else: ?>
        <span class="disabled">&lt; Anterior</span> |
    <?php endif; ?>

    <?php foreach ($this->pagesInRange as $page): ?>
        <?php if ($page != $this->current): ?>
            <a href="<?php echo $this->url(array('pagina' => $page)); ?>"><?php echo $page; ?></a> |
        <?php else: ?>
            <?php echo $page; ?> |
        <?php endif; ?>
    <?php endforeach; ?>

    <?php if (isset($this->next)): ?>
        <a href="<?php echo $this->url(array('pagina' => $this->next)); ?>">Próxima &gt;</a> |
    <?php else: ?>
        <span class="disabled">Próxima &gt;</span> |
    <?php endif; ?>

    <?php if ($this->last > $this->current): ?>
        <a href="<?php echo $this->url(array('pagina' => $this->last)); ?>">Última &gt;&gt;</a>
    <?php else: ?>
        <span class="disabled">Última &gt;&gt;</span>
    <?php endif; ?>
    </div>
<?php endif; ?>